package com.drojian.screenAdaptation2;

import android.os.Bundle;

import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;

import com.drojian.demo.R;

public class ScreenTest2Activity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        EdgeToEdge.enable(this);
        setContentView(R.layout.part4_activity_screen_test2);
        /**
         * 1.创建一个类继承
         * 2.自定义属性 attrs文件
         * 3.在xml文件中对属性进行引用
         * 4.在类中进行操作
         */
    }
}